package com.itheima.health.service;

import com.itheima.health.pojo.Role;
import com.itheima.health.pojo.RolePermission;

import java.util.List;

public interface RolePermissionService {

    void add(RolePermission rolePermission);

    List<Integer> findpermissionIdsById(Integer id);

    void edit(Role role, Integer[] permissionIds);
}
